import React, { Component } from 'react'
import { ConfigProvider } from 'antd'
import zhCN from 'antd/es/locale/zh_CN';

import BaseLayout from './baseLayout';
class Layout extends Component {
  state = {
  }

  componentDidMount() {
  }

  render() {
    const { children } = this.props

    return (
      <ConfigProvider key="zhCN" locale={zhCN}>
          <BaseLayout key="baseLayout">{children}</BaseLayout>
      </ConfigProvider>
    )
  }
}

export default Layout
